#include "Kernel_PCH.h"
#include "IKernel.h"

/*--------------------------------------------------------------------------*/

IKernel::IKernel()
{

}

/*--------------------------------------------------------------------------*/

IKernel::~IKernel()
{

}

/*--------------------------------------------------------------------------*/

void IKernel::CreateInstance()
{
	if (!g_Kernel)
	{
		g_Kernel = new CKernel();
	}
}

/*--------------------------------------------------------------------------*/

void IKernel::DestroyInstance()
{
	if (g_Kernel)
	{
		delete g_Kernel;
		g_Kernel = NULL;
	}
}

/*--------------------------------------------------------------------------*/
